package com.example.wanglong.myoneapplication.activity;

import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;

import com.example.wanglong.myoneapplication.R;
import com.example.wanglong.myoneapplication.common.BaseActivity;
import com.example.wanglong.myoneapplication.reparentclass.ReToast;

/**
 * Created by wang.long on 2016/4/8.
 */
public class LiveCity extends BaseActivity implements View.OnClickListener {

    private RelativeLayout exidvisatypedialog;
    private LinearLayout allpage;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.livecity_dialog);



        //初始化
        initData();

    }


    public void initData(){
        exidvisatypedialog=(RelativeLayout) findViewById(R.id.exidvisatypedialog);
        allpage=(LinearLayout) findViewById(R.id.allpage);



        exidvisatypedialog.setOnClickListener(this);
        allpage.setOnClickListener(this);


    }

    @Override
    public void onClick(View v){
        switch (v.getId()){
            case R.id.exidvisatypedialog:
                finish();
                overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out);
                break;
            case R.id.allpage:
                finish();
                overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out);
                break;

        }
    }





}
